FROM saorikido/jre1.8.0_202:1.0.0
RUN mkdir /app
RUN echo 'Asia/Shanghai' >/etc/timezone
COPY ./target/zy-community-1.0.0.jar /app/zy-community-1.0.0.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app/zy-community-1.0.0.jar",""]